Validation of Gait Measurements on Short-Distance Walkways Using Azure Kinect DK in Patients Receiving Chronic Hemodialysis

Muscle dysfunction, skeletal muscle fibrosis, and disability are associated with weakness in patients with end-stage renal disease. The main purpose of this study was to validate the effectiveness of a proposed system for gait monitoring on short-distance 1.5 m walkways in a dialysis center. Gaits with reduced speed and stride length, long sit-to-stand time (SST), two forward angles, and two unbalanced gait regions are defined in the proposed Kinect v3 gait measurement and analysis system (K3S) and have been considered clinical features in end-stage renal disease (ESRD) associated with poor dialysis outcomes. The stride and pace calibrations of the Kinect v3 system are based on the Zeno Walkway. Its single rating intraclass correlation (ICC) for the stride is 0.990, and its single rating ICC for the pace is 0.920. The SST calibration of Kinect v3 is based on a pressure insole; its single rating ICC for the SST is 0.871. A total of 75 patients on chronic dialysis underwent gait measurement and analysis during walking and weighing actions. After dialysis, patients demonstrated a smaller stride (p < 0.001) and longer SST (p < 0.001). The results demonstrate that patients’ physical fitness was greatly reduced after dialysis. This study ensures patients’ adequate physical gait strength to cope with the dialysis-associated physical exhaustion risk by tracing gait outliers. As decreased stride and pace are associated with an increased risk of falls, further studies are warranted to evaluate the clinical benefits of monitoring gait with the proposed reliable and valid system in order to reduce fall risk in hemodialysis patients.


Introduction
Gait abnormalities, including slow gait speed and decreased stride length, are prevalent in chronic kidney disease (CKD) patients, especially in end-stage renal disease (ESRD) patients receiving chronic hemodialysis [1,2], excluding patients with acute kidney injury [3]. Gait impairment predisposes patients to falls and related consequences and is associated with increased hospital admission, cognitive dysfunction, cardiovascular events, and all-cause mortality [4][5][6].
Skeletal muscle fibrosis impairs muscle function and is considered a major cause of muscle weakness [7]. Moreover, the isometric leg extension strength and measures of skeletal muscle fibrosis in CKD patients were examined in a previous study [8] which supported the conclusion that skeletal muscle fibrosis is associated with weakness in patients with CKD. Moreover, ESRD accelerates brain neurological function degeneration, thus further affecting gait function. Hence, gait analysis of ESRD patients is a crucial component of alerting medical personnel to identify and treat possible underlying disorders which arise from neurological diseases, including cerebral palsy and multiple sclerosis [9][10][11]. Monitoring the walking gait in ESRD patients is necessary for the early identification of patients suffering from skeletal muscle fibrosis, which is a disease that causes muscle weakness. In The flowchart of patient selection for this gait experiment for the self-selected gait tests of every participant using three locations (walkways 1-3) in the Dialysis Center of CMUH is shown in Figure 1, and the baseline demographic data are described in Table 1. In total, 3281 valid data points (1461 before dialysis and 1115 after dialysis) from 75 chronic dialysis patients were collected from 12 November 2021 to 18 May 2022. The median age of participants was 68 years (IQR 59.5, 72.3 years) with male predominance (65.3%).

Study Procedures
A clinical trial using three locations of the Dialysis Center of China Medical University Hospital (CMUH) was implemented to conduct unguarded gait monitoring of three independent 1.5 m walkways. This clinical trial was approved by the Institutional Review Board (CMUH108-REC2-022) of CMUH Research Ethics Center. In addition, all methods performed in this study were in accordance with current regulations and guidelines.

Subjects
The flowchart of patient selection for this gait experiment for the self-selected gait tests of every participant using three locations (walkways [1][2][3] in the Dialysis Center of CMUH is shown in Figure 1, and the baseline demographic data are described in Table 1. In total, 3281 valid data points (1461 before dialysis and 1115 after dialysis) from 75 chronic dialysis patients were collected from 12 November 2021 to 18 May 2022. The median age of participants was 68 years (IQR 59.5, 72.3 years) with male predominance (65.3%).   There is a four-step workflow shown in Figure 2 for the proposed Kinect v3 gait measurement and analysis system (K3S). These four steps are as follows:  Step 1: The K3S detects the RFID tag ID when a user uses an RFID tag to approximate an RFID reader of an Arduino chip connected to this system by a wired connection, and the user is guided by an RGB LED. Then, go to Step 2; Step 2: The K3S checks whether this ID's user is allowed to measure this user's gait. If this ID is allowed, then the K3S starts to measure the hand grip strength of the hand dynamometer (optional) or goes to Step 3; Step 3: Turn on the Kinect v3 automatically for patients with RFID tags to trigger the skeleton frame measurement function and go to Step 4; Step 4: The Kinect v3 identifies the user that sits on a specific weighing chair and then tracks this user's VSF trajectory on the walkway and chair. When the user leaves this walkway, the K3S starts analyzing the VSF, which provides 32 virtual skeleton joints labeled No. 1-No. 32, as shown in Figure 2, to generate the six gait parameters (maximum stride, average pace, SST, DWF, DSSF, UPN).

Calibration of Walkways
The Kinect v3 coordinate needs to be calibrated by the proposed calibration shown in Figure 3 at the Asia University (AU) laboratory. Hence, Kinect v3 s coordinates of walkways 1-3 for the same participant to a unified coordinate system are calibrated using the following coordinate transformation, and its calibration result for K3S is shown in Figure 3: θ = atan(·) is the function for calculating the inverse tangent in radians as θ. The output = sign(input) is the function of calculating an array output the same size as input, where each element of output is designated as 1 if the corresponding element of input is greater than 0; 0 if the corresponding element of input equals 0; −1 if the corresponding element of input is less than 0. The calibration steps are as follows: 1.
Kinect v3 captures the skeleton frames of the participant walking from the starting point to the ending point on a short-distance 1.5 m walkway and goes to Step 2; 2.
The 2D grid coordinates are based on the coordinates contained in vectors x and y of the foot joints, which are in these skeleton frames. X is a matrix where each row is a copy of x, and Y is a matrix where each column is a copy of y. The grid represented by the coordinates X and Y has length (y) rows and length (x) columns. The grid size is 1 cm. Go to Step 3; 3.
Calculate zˆto fit a surface of the form z = f(x, y) to the scattered data in the vectors (x, y, z) of foot joints in these skeleton frames while the function f interpolates the surface at the query points specified by (X, Y) and returns the interpolated values, zˆ. The surface always passes through the data points defined by x and y. Go to Step 4; 4.

Detection and Correction of Unreasonable Gait Movement
First, the K3S experiments encountered some unreasonable movements, such as suddenly stopping and bending over to pick up some objects, which is shown in Figure 4a; walking back and forth, which is shown in Figure 4b; sitting in a wheelchair to move on the walkway, which is shown in Figure 4c; or a generalized stride, which is extended from  . Before coordinate transformation, the interpolation plane of the virtual foot coordinates was generated using No. 22 (x, y, z) and No. 26 (x, y, z) of Figure 2 in the region of the ground plane from SW to EW. The calibrated ground plane was obtained after coordinate transformation.

Detection and Correction of Unreasonable Gait Movement
First, the K3S experiments encountered some unreasonable movements, such as suddenly stopping and bending over to pick up some objects, which is shown in Figure 4a; walking back and forth, which is shown in Figure 4b; sitting in a wheelchair to move on the walkway, which is shown in Figure 4c; or a generalized stride, which is extended from Figure 4e and shown in Figure 4f.
This study identifies and detects these unreasonable movements on the walkway using the proposed mechanism with some functions as the following one-way trajectory detection. The result of selecting the two reasonable one-way trajectories for the walking case of Figure 4b is shown in Figure 4d.
The purpose of this detection is to select the two reasonable one-way trajectories, the left ankle one-way trajectory a6, and the right ankle one-way trajectory a7, from various walking and interfering trajectories. The joint filter design involved local k-point averages using the moving mean method (Mm). Each average is calculated over a sliding window of length k that spans the position array's joint coordinates of the time series adjacent elements. When k is odd, the window is centered on the element at the current position. When k is even, the window is centered on the current and previous elements. The window size is automatically truncated at the endpoints when there are not enough elements to fill the window. When the window is truncated, the average calculation only takes the elements that fill the window, so the array length is the same before and after filtering. This study uses k = 5. The diff function calculates the difference between adjacent elements of an array. The one-way trajectory detection algorithm is as follows:

Detection and Correction of Unreasonable Gait Movement
First, the K3S experiments encountered some unreasonable movements, such as suddenly stopping and bending over to pick up some objects, which is shown in Figure 4a; walking back and forth, which is shown in Figure 4b; sitting in a wheelchair to move on the walkway, which is shown in Figure 4c; or a generalized stride, which is extended from Figure 4e and shown in Figure 4f.  This study identifies and detects these unreasonable movements on the walkway using the proposed mechanism with some functions as the following one-way trajectory detection. The result of selecting the two reasonable one-way trajectories for the walking case of Figure 4b is shown in Figure 4d.
The purpose of this detection is to select the two reasonable one-way trajectories, the left ankle one-way trajectory a6, and the right ankle one-way trajectory a7, from various

1.
If the height of the skeleton is <61 cm, then stop this algorithm or else, go to Step 2; 2.
If the length of skeleton frames >31, then a unit of sampling time = 0.04 s and a suitable moving window (units of sampling time × the range of ankle(x) cm) are used to find the longest segment (LS) of the skeleton frames (SF) and calculate the average pace (AP) = the length of pelvis(x) trajectory of LS/the duration of LS, then go to Step 3. Otherwise, stop this algorithm; 3.

Detection of Personal DWF and DSSF Outliers
The median ± standard deviation (SD) of θ ( • ) were used as the upper and lower boundaries, respectively, and they were used to detect the personal DWF and DSSF outliers based on personal statistics. For example, the boundary design of the DWF for patient 1 is shown in Figure 5a. The DWF was an outlier if the DWF > upper boundary. The boundary design of the DSSF for patient 1 is shown in Figure 5b. The DSSF was the outlier if DSSF < lower boundary.

Data of Personal Unbalanced Gait
The proposed personal unbalanced gait for UPN on every gait test in the two unbalanced gait regions was extended from pendulum model theory [31] and was based on the personal statistic boundaries (median ± SD), i.e., as Figure 6 for patient 1 to quantify his fall risk degree. The UPN is designed as follows: Step 1: Calculate the personal CM(x) along the x-axis, where CM(x, y, z) ≡ g1C1 + g2C2 + · · · + g15C15, The Ai, Bi, Di, gi, and Ci parameters are listed in Table 2; Step 2: Calculate the median ± SD of the phase portrait of personal statistics for CM(

Data of Personal Unbalanced Gait
The proposed personal unbalanced gait for UPN on every gait test in the two unbalanced gait regions was extended from pendulum model theory [31] and was based on the personal statistic boundaries (median ± SD), i.e., as Figure 6 for patient 1 to quantify his fall risk degree. The UPN is designed as follows: Step 1: Calculate the personal CM(x) along the x-axis, where CM(x, y, z) ≡ g1C1 + g2C2 + ⋯ + g15C15, The Ai, Bi, Di, gi, and Ci parameters are listed in Table 2; Step 2: Calculate the median ± SD of the phase portrait of personal statistics for CM(x)−No. 22(x) and CM(x)−No. 26(x) to be the lower boundary, upper boundary, left boundary, and right boundary; Step 3: Count the outliers in the green and yellow boxes for the phase portrait of CM(x)−No. 22(x) and CM(x)−No. 26(x) to be UPN on every gait test in the two unbalanced gait regions for the personal boundaries.

Calibration of the Sit-and-Stand Time (SST) Algorithm of K3S
The sit-and-stand time (SST) of K3S analysis needs to be calibrated using a pressure insole with two sensors A and B to measure the higher frame-rate SST ( Figure 7). Step 3: Count the outliers in the green and yellow boxes for the phase portrait of CM(x)−No. 22(x) and CM(x)−No. 26(x) to be UPN on every gait test in the two unbalanced gait regions for the personal boundaries.
Hence, this analysis with a center of mass (CM) of a VSF is proposed to calculate the personal UPN in the personal two unbalanced gait regions based on the phase portrait. The two regions are calculated using median ± SD boundaries of the personal phase portrait based on the CM. These unbalanced points' definition is from the two unbalanced gait regions and is extended from pendulum model theory [31] to quantify the fall risk.

Calibration of the Sit-and-Stand Time (SST) Algorithm of K3S
The sit-and-stand time (SST) of K3S analysis needs to be calibrated using a pressure insole with two sensors A and B to measure the higher frame-rate SST (Figure 7).
Three participants are required to test the two sensors (A and B) of a pressure insole to calibrate the following algorithm of K3S: Kinect v3 is fixed to the wall that is set as x = 0 cm, and a chair is placed in the range 0 cm < x < 90 cm.

Calibration of the Sit-and-Stand Time (SST) Algorithm of K3S
The sit-and-stand time (SST) of K3S analysis needs to be calibrated using a pressure insole with two sensors A and B to measure the higher frame-rate SST (Figure 7).

1.
If the height of the skeleton is <61 cm, then stop this algorithm or else, go to Step 2; 2.
If the length of skeleton frames >31, then go to Step 3. Otherwise, stop this algorithm; 3.
If 0 < No.1(x) < 90 cm, then define that as the range of calculating SST. Go to Step 4.

4.
A unit of sampling time = 0.04 s and a suitable moving window (units of sampling time × the range of pelvis(z) cm) are used to find the longest segment of the skeleton frames (SF) to calculate the SST. Go to Step 5; 5.
If this segment of SF number <33, then stop this algorithm, or else, go to Step 6; 6.
Use the moving mean method (Mm) to filter pelvis(z) trajectory No. 1(z) of SF. Go to Step 7: Find local maxima points and local minima points of No. 1(z). Go to Step 8; 7.
If there are more than two neighboring local maxima points, then select the leftmost local maxima point to be reserved. Go to Step 9; 8.
If there are more than two neighboring local minima points, then reserve the rightmost local minima point t1, which has to satisfy the condition No. 1(z) of this point ≤ min(No. 1(z)) + 10 cm, and find its neighboring local maxima point t2. Go to Step 10; 9.
If there is only one local minima point and it is the initial point of No. 1(z), then find the reasonable corner point t1 from the range between the initial point and the neighbor local maxima point t2. Go to Step 11; 10. Select the most reasonable data range No. 1(z*) that has the maximum difference of No. 1(x), which is at least 1.5 cm long. Go to Step 12; 11. If the difference in No. 1(z*) > 6 cm, then SST≡t2 − t1; otherwise, SST does not exist.
Next, pressure sensor A was placed under a chair's foot while a user was sitting on the chair, and his foot was prepared to stand on pressure sensor B. After these two pressures were converted into a voltage signal with high frequency noise, they were only used through the local 10-point-average filter using the moving mean method (Mm). Next, the SST calibration experiment results for three male subjects (1-3) under 50 years old in the AU laboratory are shown in Figure 8 where male subject 2 has a height of 1.7 m and male subject 3 has a height of 1.76 m.
Next, pressure sensor A was placed under a chair's foot while a user was sitting on the chair, and his foot was prepared to stand on pressure sensor B. After these two pressures were converted into a voltage signal with high frequency noise, they were only used through the local 10-point-average filter using the moving mean method (Mm). Next, the SST calibration experiment results for three male subjects (1-3) under 50 years old in the AU laboratory are shown in Figure 8 where male subject 2 has a height of 1.7 m and male subject 3 has a height of 1.76 m.

K3S Calibration Results
We used the same calibration method to obtain walkways 1-3 for the Kinect v3 set at points A, B, C, D, and its blind spots, which are shown in Figure 9. Moreover, it was used to conduct short-distance 1.5 m walkways and nontimed gait monitoring experiments. Our gait experimental system consisted of the Kinect v3 devices, which were set for three locations as follows, and their VSF was running at 25~30 Hz: Walkway 1: The A, B, and C corner points, as shown in Figure 9a, of the Kinect v3 were positioned as follows: A: 180 cm, B: 172 cm, and C: 171.5 cm above the ground; 52 cm was the length from D to chair center projection x value along the x-axis, and 28 cm was the length from chair center projection y value to D along the y-axis. The location is shown in Figure 9a. Walkway 2: The B, C, and D corner points, as shown in Figure 9b, of Kinect v3 were positioned as follows: B: 207 cm, C: 196 cm, and D: 197 cm above the ground; 28 cm was the length from C to chair center projection x value along the x-axis, and 92 cm was the length from chair center projection y value to C along the y-axis. The location is shown in Figure 9b.

Calibration Results of the Stride and Pace
The stride and pace of K3S analysis need to be calibrated by a gold-standard device, the Zeno Walkway, to measure the stride and pace with higher accuracy and verify the reliability and validity of the K3S. Moreover, the calibration setting is shown in Figure 10 with the four strides and their paces measured by the Zeno Walkway and K3S.
obtained after coordinate transformation.

Calibration Results of the Stride and Pace
The stride and pace of K3S analysis need to be calibrated by a gold-standard device, the Zeno Walkway, to measure the stride and pace with higher accuracy and verify the reliability and validity of the K3S. Moreover, the calibration setting is shown in Figure 10 with the four strides and their paces measured by the Zeno Walkway and K3S. The calibration result for the stride and pace of the K3S analysis is shown in Figure  11. Its single rating intraclass correlation (ICC) for the stride with a one-way model is 0.99 (Type: absolute agreement; subjects = 40; F Test, H0: r0 = 0; H1: r0 > 0; p = 1.21 × 10 −35 ); 95% confidence interval (CI) 0.981-0.995). The single rating ICC for the pace with a one-way model is 0.92 (Type: absolute agreement; subjects = 40; F Test, H0: r0 = 0; H1: r0 > 0; p = 4 × 10 −18 ); 95% CI 0.855-0.957).

Stability Results of the Main Virtual Joints
The five adhesive tape lines were used as the markers shown in Figure 12a in the AU laboratory together with a tape measure to mark and position the main virtual joints (foot, ankle, pelvis, neck) shown in Figure 12b while walking ten times on a short-distance walkway to measure the uncertainty errors. The uncertainty errors (eu) are defined as eu ≡ vm − vf, where the x-axis coordinates vm of these main virtual joints of a VSF were measured for a participant standing on the three positions (adhesive tape lines placed at 40 cm, 80 cm, and 120 cm positions, respectively) shown in Figure 12c with three bending poses from 5 to 60 degrees. He posed for the unchanged standing and bending poses as the desired xaxis values vf measured by this tape measure. In this study, the eu(foot) range of the virtual foot joints was −1.58 cm ≤ eu ≤ 0.66 cm; the eu(ankle) range of the virtual ankle joints was −0.54 cm ≤ eu ≤ 1.06 cm; the eu(pelvis) range of the virtual pelvis joint was −0.56 cm ≤ eu ≤ 1.04 cm; and the eu(neck) range of the virtual neck joint was −0.24 cm ≤ eu ≤ 0.46 cm. Hence, the uncertainty error range of the virtual ankle joints was smaller than that of the virtual foot joints. Due to the limitation of walking on a short-distance 1.5 m walkway and setting

Stability Results of the Main Virtual Joints
The five adhesive tape lines were used as the markers shown in Figure 12a in the AU laboratory together with a tape measure to mark and position the main virtual joints (foot, ankle, pelvis, neck) shown in Figure 12b while walking ten times on a short-distance walkway to measure the uncertainty errors. The uncertainty errors (e u ) are defined as e u ≡ v m − v f , where the x-axis coordinates v m of these main virtual joints of a VSF were measured for a participant standing on the three positions (adhesive tape lines placed at 40 cm, 80 cm, and 120 cm positions, respectively) shown in Figure 12c with three bending poses from 5 to 60 degrees. He posed for the unchanged standing and bending poses as the desired x-axis values v f measured by this tape measure. In this study, the e u (foot) range of the virtual foot joints was −1.58 cm ≤ e u ≤ 0.66 cm; the e u (ankle) range of the virtual ankle joints was −0.54 cm ≤ e u ≤ 1.06 cm; the e u (pelvis) range of the virtual pelvis joint was −0.56 cm ≤ e u ≤ 1.04 cm; and the e u (neck) range of the virtual neck joint was −0.24 cm ≤ e u ≤ 0.46 cm. Hence, the uncertainty error range of the virtual ankle joints was smaller than that of the virtual foot joints. Due to the limitation of walking on a short-distance 1.5 m walkway and setting Kinect v3, a skew angle pose has to be fixed on the wall to cover the optimal measuring region. Occluding objects and chairs on walkways 1-3 shown in Figure 9 are for the blind spots solved by choosing the stable pelvis joint to cover the noises of blind spots or occluding objects.

Analysis of Reliability and Validity of Forward Angle
In Figure 13, the K3S forward angle θ error range is −2.3212~0.8432°.

Analysis of Reliability and Validity of SST
The SST calibration experiment results for subjects 1-3 are shown in Figure 14. The sit-to-stand time (SST) calibration of Kinect v3 is based on a pressure insole and its single rating ICC for the SST with a one-way model is 0.871 (Type: absolute agreement; subjects = 17; F Test, H0: r0 = 0; H1: r0 > 0; p = 6.84 × 10 −7 ); 95% CI 0.686-0.951).

Analysis of Reliability and Validity of Forward Angle
In Figure 13, the K3S forward angle θ error range is −2.3212~0.8432 • .

Analysis of Reliability and Validity of Forward Angle
In Figure 13, the K3S forward angle θ error range is −2.3212~0.8432°.

Analysis of Reliability and Validity of SST
The SST calibration experiment results for subjects 1-3 are shown in Figure 14. The sit-to-stand time (SST) calibration of Kinect v3 is based on a pressure insole and its single rating ICC for the SST with a one-way model is 0.871 (Type: absolute agreement; subjects = 17; F Test, H0: r0 = 0; H1: r0 > 0; p = 6.84 × 10 −7 ); 95% CI 0.686-0.951).

Analysis of Gait Statistics
The statistical analysis of the data of 75 patients was obtained from long-term monitoring of the six gait parameters on short-distance walkways using K3S. The detection of DWF outliers, DSSF outliers, and UPN was based on the personal median ± SD boundaries. Table 3 shows the median ± SD, median (P5, P95) and the median (P1, P99) outliers of the maximum stride (MS), average pace (AP), and SST data of all participants. Table 4 shows the number of outliers of any of the three gait parameters. Furthermore, this study proposes median ± SD boundaries, median (P5, P95), and median (P1, P99) as the following methods to define the warning outliers of gait parameters to cope with dialysis physical exhaustion risk. First, the warning stride outliers were defined below the median-SD boundary of maximum stride data; their distributed numbers are shown in Figure 15a for all participants. Second, the maximum stride lengths for all participants were related to their height histogram, which are shown in Figure 15b. Hence, maximum stride length was normalized to the subject's height using the following formula: Normalized maximum stride length = Maximum stride length (cm)/height (cm), where its warning outliers were defined below the median-SD boundary of the normalized maximum stride length data; their distributed numbers are shown in Figure 15c for all participants. Third, the warning pace outliers were defined below the median-SD boundary of average pace data; their distributed numbers are shown in Figure 15d for all participants. Fourth, the warning SST outliers were defined beyond the median + SD boundary of the SST data; their distributed numbers are shown in Figure 15e for all participants. Fifth, the DWF outliers were defined beyond the median + SD boundary of personal DWF data. To obtain the warning DWF outliers beyond a boundary, Figure 15f shows the distributed numbers of the DWF outliers of all participants to set this median + Figure 14. The SST calibration result is illustrated using the correlation of Kinect v3's and two pressure sensors' SST data.

Analysis of Gait Statistics
The statistical analysis of the data of 75 patients was obtained from long-term monitoring of the six gait parameters on short-distance walkways using K3S. The detection of DWF outliers, DSSF outliers, and UPN was based on the personal median ± SD boundaries. Table 3 shows the median ± SD, median (P5, P95) and the median (P1, P99) outliers of the maximum stride (MS), average pace (AP), and SST data of all participants. Table 4 shows the number of outliers of any of the three gait parameters. Furthermore, this study proposes median ± SD boundaries, median (P5, P95), and median (P1, P99) as the following methods to define the warning outliers of gait parameters to cope with dialysis physical exhaustion risk. First, the warning stride outliers were defined below the median-SD boundary of maximum stride data; their distributed numbers are shown in Figure 15a for all participants. Second, the maximum stride lengths for all participants were related to their height histogram, which are shown in Figure 15b. Hence, maximum stride length was normalized to the subject's height using the following formula: Normalized maximum stride length = Maximum stride length (cm)/height (cm), where its warning outliers were defined below the median-SD boundary of the normalized maximum stride length data; their distributed numbers are shown in Figure 15c for all participants. Third, the warning pace outliers were defined below the median-SD boundary of average pace data; their distributed numbers are shown in Figure 15d for all participants. Fourth, the warning SST outliers were defined beyond the median + SD boundary of the SST data; their distributed numbers are shown in Figure 15e for all participants. Fifth, the DWF outliers were defined beyond the median + SD boundary of personal DWF data. To obtain the warning DWF outliers beyond a boundary, Figure 15f shows the distributed numbers of the DWF outliers of all participants to set this median + SD boundary. Sixth, the warning DSSF outliers were defined below the median-SD boundary of the personal DSSF data; The warning DSSF outliers number Total DSSF data amount = 28.0071% of participants needed an intervention to improve their DSSF. Seventh, the UPN was counted in the two unbalanced gait regions with the median ± SD boundaries of personal phase portrait data based on the personal dynamic CM data. The distributed numbers of the UPN of all participants are shown in Figure 15g to define the warning UPN outliers, which are defined beyond the median + SD boundary of these distributed numbers to alert its warning. The adequacy of the physical gait strength of chronic dialysis patients could be detected based on the results of Figure 15, Tables 3 and 4, that is, to cope with dialysis physical exhaustion risk by tracing the gait outliers. Furthermore, Table 5  SD boundary. Sixth, the warning DSSF outliers were defined below the median-SD boundary of the personal DSSF data; The warning DSSF outliers number Total DSSF data amount = 28.0071% of participants needed an intervention to improve their DSSF. Seventh, the UPN was counted in the two unbalanced gait regions with the median ± SD boundaries of personal phase portrait data based on the personal dynamic CM data. The distributed numbers of the UPN of all participants are shown in Figure 15g to define the warning UPN outliers, which are defined beyond the median + SD boundary of these distributed numbers to alert its warning.  (f) Shows the distributed numbers of the DWF outliers of all participants whose warning DWF outliers are defined beyond the median + SD boundary of these distributed numbers. (g) Shows the distributed numbers of the UPN of all participants whose warning UPN outliers are defined beyond the median + SD boundary of these distributed numbers.

Discussion
In this study, we developed a short-distance 1.5 m walkway for gait monitoring based on a Kinect v3 gait measurement and analysis system. Calibration algorithms for stride, pace, and SST were proposed based on a Zeno Walkway which yielded satisfactory correlations. Patients on chronic dialysis who received the short-distance gait monitoring system revealed significant differences on gait parameters before and after dialysis, including the maximum stride and SST. This system shows a great advantage in patients gait monitoring especially in the medical fields with limited space, such as a hemodialysis center or a geriatric ward. It is difficult for most hemodialysis centers to implement a traditional 4 m Zeno Walkway. Our short-distance 1.5 m walkway is more practical in clinical settings. Moreover, chronic dialysis patients are usually unable to walk as requested when asked to walk at the personal fastest speed, which is the standard protocol in the clinical setting of dialysis centers; hence, for the self-selected gait case, this study uses more accurate ankle positions and a reasonable one-way trajectory to calculate the most acceptable gait speed and stride length. Additionally, it matches the height to judge whether it is a wheelchair case to automatically discard the invalid gait speed and stride length for that case.
Taking the 60-64 age group as an example of comprehensive geriatric assessment (CGA), the gait speed of 0.55 ± 0.14 m/s that is shown in Figure 15d and the SST time of 1.93 ± 1.73 s that is shown in Figure 15e of K3S compared to CGA and GST-4 (gait speed test-4 m), mean that the 4 m test should be completed within 5 s and that the converting speed is 0.8 m/s. Moreover, the standard SST value of each time required is approximately 30 s/28 times = 1.07 s for men and approximately 30 s/24 times = 1.25 s for women using CGA. Since most dialysis patients cannot undergo 5XSST or CGA in the dialysis center, this study found the most reasonable method to detect SST. Furthermore, a stride length of 0.7 ± 0.15 m from the K3S, as shown in Figure 15a, is comparable to the stride length of 1.05 ± 0.22 m from 9 ESRD patients aged 60-74 [2]. In this study, our subjects had a lower height, needed to walk on a shorter distance walkway, and had the obstacle of a chair, so their gait speed and stride length were lower than normal. The SST was longer because of relatively weak physical strength or the distracting effect of weighing.
Although our results are promising, we did not directly compare the enrolled chronic dialysis patients with short-distance walkways using the K3S with a Zeno Walkway, which makes the correlation between them in chronic dialysis patients unknown. It is possible that the speed detected on the short-distance walkway might be slower than the longer-distance walkway due to a self-selected pace with a short distance for speeding up during walking. Therefore, we proposed the concept of detection of abnormal gait based on outliers in gait parameters after normalization, according to the subject's height. Future studies should focus on the validation of the utility and effectiveness of gait parameter outliers on a short-distance walkway.
The reason for limiting the study subjects to chronic dialysis patients is that this system is designed to cater to the needs of nephrologists. However, its versatility is excellent, allowing for potential extension to the application areas of long-term care centers or rehabilitation departments. All that is required is recalibration and redefinition of the warning threshold for use.

Conclusions
This study proposed an alternative K3S suited for three short-distance 1.5 m clinical gait walkways. A generalized stride length is computed using the more stable virtual ankle joints rather than the virtual foot joints, and the pace is calculated using the more stable pelvis joint. The main contributions of this study are as follows: (1) The Kinect v3 virtual skeleton frames of gaits are calibrated using a Zeno Walkway and a pressure insole, and the estimation errors of some virtual joints are calculated for three experimenters using a tape measure and an image-based protractor to increase awareness of system accuracy and robustness; (2) The nontimed measurement and the clinical gait analysis of the whole body for self-selected gaits are based on a filter design and can be utilized for long-term monitoring application for chronic dialysis patients; (3) A method is proposed to simulate the instability range of a single footstep based on the center of mass calculated using virtual skeletal joints; (4) This study proposes trunk forward angles of walking and sit-to-stand posture to accurately detect abnormal changes in human posture to provide an early notification of an unhealthy posture to patients. As decreased stride and pace are associated with an increased risk of falls, further studies are warranted to evaluate the effectiveness of monitoring gait with the proposed reliable and valid system to reduce fall risk in hemodialysis patients.  Informed Consent Statement: Informed consent was obtained from all subjects involved in the study.

Data Availability Statement:
The data underlying the results presented in the study are available from China Medical University Hospital. The data are owned by a third party and authors do not have permission to share the data.

Conflicts of Interest:
No other authors have reported potential conflicts of interest relevant to this article.